﻿<UserControl x:Class="YLServerInterface.UserControls.TemplateBuilder.RequireValueItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="99" d:DesignWidth="185" Padding="3">
    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="0"
            >备注：</TextBlock>
        <TextBlock Grid.Row="1" Grid.Column="0"
            >变量名：</TextBlock>
        <TextBlock Grid.Row="2" Grid.Column="0"
            >数据类型</TextBlock>
        <TextBlock Grid.Row="3" Grid.Column="0"
            >具体值：</TextBlock>
        <TextBox
            Grid.Row="0"
            Grid.Column="1"
            Name="txtMemo"
            Text="{Binding mMemo}"
            ></TextBox>
        <TextBox
            Grid.Row="1"
            Grid.Column="1"
            Name="txtName"
                    Text="{Binding mName}"
            ></TextBox>
        <TextBox
            Grid.Row="2"
            Grid.Column="1"
            Name="txtDataType"
                    Text="{Binding mDataType}"
            ></TextBox>
        <TextBox
            Grid.Row="3"
            Grid.Column="1"
            Name="txtValue"
                    Text="{Binding mValue}"
            ></TextBox>
    </Grid>
</UserControl>
